﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/Blank.Master" EnableEventValidation="false" AutoEventWireup="true" CodeBehind="ZHInfoList.aspx.cs" Inherits="DMS.Web.Modules.ArchivesManagement.ZHInfoList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="diy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    综合资料信息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="/Resources/Scripts/jquery.blockUI.js"></script>
    <script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.core.min.js"></script>
	<script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.widget.min.js"></script>
	<script type="text/javascript" src="/Resources/Scripts/jquery-ui/ui/jquery.ui.position.min.js"></script>
	<script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.mouse.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.draggable.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.button.min.js"></script>
    <script type="text/javascript" src="/Resources/scripts/jquery-ui/ui/jquery.ui.dialog.min.js"></script>
    <link rel="stylesheet" href="/Resources/Scripts/jquery-ui/themes/cupertino/jquery.ui.all.css">
    <script type="text/javascript" language="javascript">
        function uploadTemplate() {
            var template = "/Resources/Templates/基本信息导入模板-单位.xls";
            var fileInfo = OpenFileUploaderWithFile("", template);
        }

        function uploadTemplate1() {
            var template = "/Resources/Templates/综合资料信息导入模板.xls";
            var fileInfo = OpenFileUploaderWithFile("批量导入模板", template);
        }

        function exportList() {
            window.open('/Resources/Templates/综合资料信息导入模板.xls');
        }

        function deleteRecord(obj) {
            if (confirm('确定要删除该条记录？')) {
                $(obj).parent().parent().hide();
                alert('删除成功！');
            }
        }

        function searchForm() {
            $('#MainHolder_gvList tr').hide();
            $('.searchResult').show();
        }

        function openForm() {
            window.open("ZHArchInfoForm.aspx");
        }
    </script>
   
    <script type="text/javascript" src="/Modules/Delivery/Scripts/OrderList.js"></script>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainHolder" runat="server">
    <asp:HiddenField ID="Condition" runat="server"/>
    <div id="mainareacontent" style="overflow:auto;">
    <div class="search">
                <!----------- 查询信息 ------------------>
                <span style="padding: 5 0 5 5"><b>当前列表：</b><asp:Label ID="currentListName" runat="server"></asp:Label></span>
                <table width="100%" cellpadding="0" cellspacing="0" style="padding: 5 0 5 5">
                    <tr>
                        <td class="form">
                            <table cellpadding="0" cellspacing="0" width="100%">
                                <tr>
                                    <th>
                                        所属年月：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="ddlArea" runat="server" Width="55px">
                                            <asp:ListItem Text="全部"></asp:ListItem>
                                            <asp:ListItem Text="2011"></asp:ListItem>
                                            <asp:ListItem Text="2010"></asp:ListItem>
                                            <asp:ListItem Text="2009"></asp:ListItem>
                                            <asp:ListItem Text="2008"></asp:ListItem>
                                            <asp:ListItem Text="2007"></asp:ListItem>
                                            <asp:ListItem Text="2006"></asp:ListItem>
                                            <asp:ListItem Text="2005"></asp:ListItem>
                                            <asp:ListItem Text="2004"></asp:ListItem>
                                            <asp:ListItem Text="2003"></asp:ListItem>
                                            <asp:ListItem Text="2002"></asp:ListItem>
                                            <asp:ListItem Text="2001"></asp:ListItem>
                                        </asp:DropDownList>
                                        年
                                        <asp:DropDownList ID="DropDownList1" runat="server" Width="50px">
                                            <asp:ListItem Text="全部"></asp:ListItem>
                                            <asp:ListItem Text="1"></asp:ListItem>
                                            <asp:ListItem Text="2"></asp:ListItem>
                                            <asp:ListItem Text="3"></asp:ListItem>
                                            <asp:ListItem Text="4"></asp:ListItem>
                                            <asp:ListItem Text="5"></asp:ListItem>
                                            <asp:ListItem Text="6"></asp:ListItem>
                                            <asp:ListItem Text="7"></asp:ListItem>
                                            <asp:ListItem Text="8"></asp:ListItem>
                                            <asp:ListItem Text="9"></asp:ListItem>
                                            <asp:ListItem Text="10"></asp:ListItem>
                                            <asp:ListItem Text="11"></asp:ListItem>
                                            <asp:ListItem Text="12"></asp:ListItem>
                                        </asp:DropDownList>
                                        月
                                    </td>                                    
                                    <th>
                                        档案名称：
                                    </th>
                                    <td>
                                        <asp:TextBox TextMode="MultiLine" Height="22px" ID="TextBox2" runat="server" Width="150px"></asp:TextBox>
                                    </td>
                                    <th style="width: 100px">
                                         档案类型：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th>
                                        形成日期：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TextBox8" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                        至
                                        <asp:TextBox ID="TextBox15" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                    </td>
                                    <th>
                                        保管起始日期：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TextBox3" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                        至
                                        <asp:TextBox ID="TextBox4" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                    </td>
                                    <th>
                                        到期日期：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TextBox16" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                        至
                                        <asp:TextBox ID="TextBox17" onClick="WdatePicker()" runat="server" Width="70px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <th style="width: 100px">
                                         姓名：
                                    </th>
                                    <td>
                                        <asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox>
                                    </td>
                                    <th>
                                        是否销毁：
                                    </th>
                                    <td>
                                        <asp:DropDownList ID="DropDownList2" runat="server" Width="50px">
                                            <asp:ListItem Text="全部"></asp:ListItem>
                                            <asp:ListItem Text="是"></asp:ListItem>
                                            <asp:ListItem Selected="True" Text="否"></asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <th>
                                       
                                    </th>
                                    <td>
                                       
                                    </td>
                                </tr>
                                
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        <div align="left" style="padding: 5 0 0 0">
            <span class="search"  style="padding: 2 0 2 2">
                <asp:CheckBox ID="CheckBox10" OnClick="CheckChange(this)" CssClass="checkboxGroup1" Text="全选当前页" runat="server"/>
                <asp:CheckBox ID="CheckBox11" OnClick="CheckChange(this)" CssClass="checkboxGroup2" Text="全选所有" runat="server"/>
            </span>&nbsp;&nbsp;
            <a onclick="searchForm();" id="A5" class="linkbtn _searchBtn" href="#"><span>查询</span></a>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton3" OnClientClick="exportList();"  runat="server"><span>数据导出</span></asp:LinkButton><%--onclick="ExportClick"--%>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton4" OnClientClick="uploadTemplate1();return false;" runat="server"><span>数据导入</span></asp:LinkButton><%--onclick="ExportClick"--%>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton5" OnClientClick="openForm();return false;" runat="server"><span>新增资料信息</span></asp:LinkButton><%--onclick="ExportClick"--%>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton7" runat="server"><span>打印</span></asp:LinkButton><%--OnClick="PrintClick"--%>
            <a onclick="if(confirm('确认要将所选资料信息销毁？'))alert('销毁成功！');" id="A6" class="linkbtn _searchBtn" href="#"><span>销毁</span></a>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton8" OnClientClick="javascript:delayReply();return false;" Visible="false" runat="server"><span>超时回复</span></asp:LinkButton>
            <asp:LinkButton CssClass="linkbtn" ID="LinkButton9" OnClientClick="javascript:delayReply('exception');return false;" Visible="false" runat="server"><span>异常反馈</span></asp:LinkButton>
        </div>
    <!----------- 数据列表 ------------------>
            <div>
	            <table cellspacing="1" cellpadding="0" rules="all" class="dg_borderstyle" border="0" border="1" id="MainHolder_gvList">
		            <tr class="dg_headerstyle searchResult">
			            <th scope="col">
                            
                                    </th>
                        <th scope="col">
                            <nobr>档案盒编号</nobr>
                        </th>
                        <th scope="col">
                            <nobr>档案盒所在位置</nobr>
                        </th>
                        <th scope="col">
                            档案名称
                        </th>
                        <th scope="col">
                            所属年度</th><th scope="col">
                            形成日期</th><th scope="col">
                            保管起始日期</th><th scope="col">
                            保管年限</th><th scope="col">
                            到期日期</th><th scope="col">
                            张数</th><th scope="col">
                            扫描件数</th>
                            <th>是否销毁</th>
                            <th scope="col">
                            <nobr>
                            操作</nobr></th>
                            
		            </tr>
                    <tr class="dg_itemstyle gs searchResult">
			            <td style="width:20px;">
                            <input name="ctl00$MainHolder$gvList$ctl02$chkItem" type="checkbox" id="Checkbox12" class="_selectItem" value="b99563fb-8c9f-47ac-b045-7717d805e646,CS" />
                        </td>
                        <td>
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                CQ-ZH-0000001
                            </a>
                        </td>
                        <td>A排第1行第1列</td>
                        <td> 
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                城区税务分局2011年社保费工作总结
                            </a>
                        </td>
                        <td>2011</td>
                        <td>2011/10/17</td>
                        <td>2012/1/1</td>
                        <td>10</td>
                        <td>2022/1/1</td>
                        <td>
                            3
                        </td>
                        <td>
                            0
                        </td>
                        <td>否</td>
                        <td>
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                打开
                            </a>
                            <a href="javascript:void(0)"  onclick="uploadTemplate();" >
                                上传扫描件
                            </a>
                            <a onclick="deleteRecord(this)" href="javascript:void(0)">删除</a>
                        </td>
		            </tr>
                    <tr class="dg_alternatingitemstyle gs">
			            <td style="width:20px;">
                            <input name="ctl00$MainHolder$gvList$ctl02$chkItem" type="checkbox" id="Checkbox13" class="_selectItem" value="b99563fb-8c9f-47ac-b045-7717d805e646,CS" />
                        </td>
                        <td>
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                CQ-ZH-0000002
                            </a>
                        </td>
                        <td>A排第1行第2列</td>
                        <td> 
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                城区税务分局2012年社保费工作计划初稿
                            </a>
                        </td>
                        <td>2011</td>
                        <td>2011/10/17</td>
                        <td>2012/1/1</td>
                        <td>10</td>
                        <td>2022/1/1</td>
                        <td>
                            1
                        </td>
                        <td>
                            1
                        </td>
                        <td>否</td>
                        <td>
                            <a href="ZHArchInfoForm.aspx" target="_blank">
                                打开
                            </a>
                            <a  href="javascript:void(0)"  onclick="uploadTemplate();">
                                上传扫描件
                            </a>
                            <a onclick="deleteRecord(this)" href="javascript:void(0)">删除</a>
                        </td>
		            </tr>
                </table>
            </div>
             <!--分页-->
            <table width="100%">
                <tr>                    
                    <td Width="85%">                        
                        <div id="MainHolder_pager" class="dg_pagestyle" style="width:100%;text-align:right;">
                        <div class="dg_pagestyle" style="width:40%;float:left;text-align:left;">
	                        总数：187301，共 1982 页，当前为第1页
                        </div><div align="right" class="dg_pagestyle" style="width:60%;float:left;">
	                        <a disabled="disabled" style="margin-right:5px;">首页</a><a disabled="disabled" style="margin-right:5px;">上页</a><span style="margin-right:5px;font-weight:Bold;color:red;">1</span><a disabled="disabled" style="margin-right:5px;">下页</a><a disabled="disabled" style="margin-right:5px;">末页</a>&nbsp;&nbsp;转到<input type="text" value="1" disabled="disabled" name="ctl00$MainHolder$pager_input" id="ctl00$MainHolder$pager_input" onkeydown="ANP_keydown(event,&#39;ctl00$MainHolder$pager_btn&#39;);" style="width:30px;" />页<input type="submit" value="go" name="ctl00$MainHolder$pager" id="ctl00$MainHolder$pager_btn" disabled="disabled" onclick="if(ANP_checkInput(&#39;ctl00$MainHolder$pager_input&#39;,1)){__doPostBack(&#39;ctl00$MainHolder$pager&#39;,&#39;&#39;)} else{return false}" />
                        </div>
                        </div>    
                    </td>
                    <td Width="15%">，每页<input name="ctl00$MainHolder$PageSize" type="text" value="10" id="MainHolder_PageSize" onblur="CheckPageSize(this)" style="width: 30px" />条记录。</td>
                </tr>
            </table>
            <div id="loading" style="display:none">
	            <table><tr><td><img src='/Themes/Default/images/loading.gif'/></td>
                <td style="word-break:keep-all; background-color:">数据处理中...</td></tr>
                </table>
            </div>
                           
    </div>
</asp:Content>
